package com.springcloud.openfeign.service;

import com.springcloud.openfeign.hystrix.TestHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "eureka-client",fallback = TestHystrix.class)
public interface OpenFeignClient {
    @GetMapping(value = "/testRabbion")
    String getStores();
}
